<template>
  <div id="h5_wrapper">
    <div class="content">
      <router-view></router-view>
    </div>
    <nav class="tabber">
      <router-link to="/article">面经</router-link>
      <router-link to="/collect">收藏</router-link>
      <router-link to="/like">喜欢</router-link>
      <router-link to="/user">我的</router-link>
    </nav>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.h5_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid red;
}
.content {
  height: 400px;
  border: 1px solid blue;
}
.tabber {
  margin-top: 10px;
  height: 30px;
  border: 1px solid green;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
}
a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #ffffff;
}
a.router-link-active {
  background-color: orange;
}
</style>
